# Gnuplot scipt file for plotting data in file "advanced_bonanza_mult.dat"
# This file is named a_b_speedup.p

set terminal png
set output "a_b_speedup.png"

unset log
#set logscale xy
#unset log y2

unset label

set xtic auto
set ytic auto

set autoscale
#set xrange [0:20]
#set yrange [0:8.00]

set xlabel "# of processors"
set ylabel "speedup"

plot "advanced_bonanza_total.dat" using 1:((2.31e+7)/$2) title 'matrix size: 256' with linespoints, \
        "advanced_bonanza_total.dat" using 1:((1.97e+8)/$3) title 'matrix size: 512' with linespoints, \
        "advanced_bonanza_total.dat" using 1:((6.81e+8)/$4) title 'matrix size: 768' with linespoints, \
        "advanced_bonanza_total.dat" using 1:((2.14e+9)/$5) title 'matrix size: 1024' with linespoints
